<h1>New scan_target</h1>

<% form_for(@scan_target) do |f| %>
  <%= f.error_messages %>

  <div><label>Folder to scan: <%= text_field "scan_target[folder]", :path %></label></div>
  <div><label>Target Disposition: <%= f.select :disposition_id, ScanTarget::DISPOSITION_NUMBERS %>
  
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', scan_targets_path %>
